<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>例会添加</title>
<link href="<%=basePath%>css/style.css" rel="stylesheet"
	type="text/css" />
<script type="text/javascript" src="<%=basePath%>js/jquery.js"></script>
<script type="text/javascript">
	$(document).ready(function() {
		$(".click").click(function() {
			$(".tip").fadeIn(200);
		});

		$(".tiptop a").click(function() {
			$(".tip").fadeOut(200);
		});

		$(".sure").click(function() {
			$(".tip").fadeOut(100);
		});

		$(".cancel").click(function() {
			$(".tip").fadeOut(100);
		});

	});
</script>
</head>
<body>
	<div class="place">
		<span>位置：</span>
		<ul class="placeul">
			<li><a href="<%=basePath%>regularMeeting">例会管理</a></li>
			<li><a href="<%=basePath%>regularMeeting/regularMeetingAdd.jsp">添加</a></li>
		</ul>
	</div>
	<form action="<%=basePath%>regularMeetAdd" method="post"
		enctype="multipart/form-data">
		<input type="hidden" name="mgrId" value="${user.memId }" />
		<c:if test="${saveFlag!='1' }">
			<div class="formbody">
				<div class="formtitle">
					<span>例会记录</span>
				</div>
				<ul class="forminfo">
					<li><label>主题</label><input name="theme" type="text"
						class="dfinput" value="" /></li>
					<li><label>日期</label><input name="meetDate" type="text"
						class="dfinput" value="" /></li>
					<li><label>与会人员</label>
					<textarea name="parties" cols="" rows="" class="textinput"></textarea></li>
					<li><label>附件</label><input name="upload" type="file" /></li>
					<li><label>&nbsp;</label><input name="" type="submit"
						class="btn" value="添加" />&nbsp;&nbsp;&nbsp;&nbsp;<input name=""
						type="reset" class="btn" value="重置" /></li>
				</ul>
			</div>
		</c:if>
		<c:if test="${saveFlag=='1' }">
			<font color="green">${message}</font>
			<div class="formbody">
				<div class="formtitle">
					<span>例会记录</span>
				</div>
				<ul class="forminfo">
					<li><label>主题</label><input name="theme" type="text"
						class="dfinput" value="${meet.theme }" /></li>
					<li><label>日期</label><input name="meetDate" type="text"
						class="dfinput" value="${meet.meetDate}" /></li>
					<li><label>与会人员</label>
					<textarea name="parties" cols="" rows="" class="textinput">${meet.parties}</textarea></li>
					<li><label>附件</label><a href="#">${meet.attachment }</a></li>
				</ul>
			</div>
		</c:if>
	</form>
</body>
</html>